package fz.vrd.app.fragment;

import android.widget.TextView;

import fz.vrd.app.R;
import fz.vrd.library.page.fragment.BaseFragment;

public class NestFragment2 extends BaseFragment {


    @Override
    protected int getLayoutId() {
        return R.layout.frg_1;
    }

    @Override
    protected void init() {
        TextView tv = findViewById(R.id.textView);
        tv.setText("NestFragment2");

        findViewById(R.id.btn_back).setOnClickListener(v -> {
            backPage();
        });


        findViewById(R.id.btn_next).setOnClickListener(v -> {
            replace(new NestFragment3());
        });
    }
}
